package com.xue566.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: Wuzh
 * @Description: 班级实体类
 * @Data:
 */
@Data
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式
@TableName(value = "class_info")
public class ClassEntity extends BaseEntity {

    @TableId(value = "classId", type = IdType.INPUT)
    private String classId;
    @TableField(value = "className")
    private String className;
    @TableField(value = "subjectId")
    private String subjectId;
    @TableField(value = "courseId")
    private String courseId;
    @TableField(value = "maxNumber")
    private int maxNumber;
    @TableField(value = "classHour")
    private String classHour;
    @TableField(value = "headMasterId")
    private String headMasterId;
    @TableField(value = "startTime")
    private String startTime;
    @TableField(value = "endTime")
    private String endTime;
    @TableField(value = "cycle")
    private int cycle;
    @TableField(value = "studyTime")
    private String studyTime;
    @TableField(value = "roomId")
    private String roomId;
    @TableField(value = "centerId")
    private String centerId;
    @TableField(value = "state")
    private int state;
    @TableField(value = "userId")
    private String userId;
    @TableField(value = "createTime")
    private String createTime;
    @TableField(value = "isUsed")
    private int isUsed;

    public String getClassId () {
        return classId;
    }

    public void setClassId (String classId) {
        this.classId = classId;
    }

    public String getClassName () {
        return className;
    }

    public void setClassName (String className) {
        this.className = className;
    }

    public String getSubjectId () {
        return subjectId;
    }

    public void setSubjectId (String subjectId) {
        this.subjectId = subjectId;
    }

    public String getCourseId () {
        return courseId;
    }

    public void setCourseId (String courseId) {
        this.courseId = courseId;
    }

    public int getMaxNumber () {
        return maxNumber;
    }

    public void setMaxNumber (int maxNumber) {
        this.maxNumber = maxNumber;
    }

    public String getClassHour () {
        return classHour;
    }

    public void setClassHour (String classHour) {
        this.classHour = classHour;
    }

    public String getHeadMasterId () {
        return headMasterId;
    }

    public void setHeadMasterId (String headMasterId) {
        this.headMasterId = headMasterId;
    }

    public String getStartTime () {
        return startTime;
    }

    public void setStartTime (String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime () {
        return endTime;
    }

    public void setEndTime (String endTime) {
        this.endTime = endTime;
    }

    public int getCycle () {
        return cycle;
    }

    public void setCycle (int cycle) {
        this.cycle = cycle;
    }

    public String getStudyTime () {
        return studyTime;
    }

    public void setStudyTime (String studyTime) {
        this.studyTime = studyTime;
    }

    public String getRoomId () {
        return roomId;
    }

    public void setRoomId (String roomId) {
        this.roomId = roomId;
    }

    public String getCenterId () {
        return centerId;
    }

    public void setCenterId (String centerId) {
        this.centerId = centerId;
    }

    public int getState () {
        return state;
    }

    public void setState (int state) {
        this.state = state;
    }

    public String getUserId () {
        return userId;
    }

    public void setUserId (String userId) {
        this.userId = userId;
    }

    public String getCreateTime () {
        return createTime;
    }

    public void setCreateTime (String createTime) {
        this.createTime = createTime;
    }

    public int getIsUsed () {
        return isUsed;
    }

    public void setIsUsed (int isUsed) {
        this.isUsed = isUsed;
    }
}
